package com.qunar.crawler.utils;

/**
 * @author waynechen May 25, 2012 5:09:55 PM
 */
public class Point2D<T> {
	private T x;
	private T y;

	public Point2D(T x, T y) {
		this.x = x;
		this.y = y;
	}

	@Override
	public String toString() {
		return "Point2D [x=" + x + ", y=" + y + "]";
	}

	public T getX() {
		return x;
	}

	public void setX(T x) {
		this.x = x;
	}

	public T getY() {
		return y;
	}

	public void setY(T y) {
		this.y = y;
	}

}
